package ex_9_deadLockTest;

public class Main {
    /**
     * ============================
     * 模拟死锁
     * ============================
     */
    public static void main(String[] args) {
        DealThread dealThread = new DealThread();
        Thread thread = new Thread(dealThread);
        thread.setName("AA");
        Thread thread2 = new Thread(dealThread);
        thread2.setName("BB");
        thread.start();
        thread2.start();
    }
}
